import request from '@/utils/request'
//查
export function getProductTypeList(data) {
  return request({
    url: '/tableProductType/list',
    method: 'post',
    data
  })
}

//新增
export function createProductType(data) {
  return request({
    url: '/tableProductType/create',
    method: 'post',
    data
  })

}


//修改
export function updateProductType(data) {
  return request({
    url: '/tableProductType/update',
    method: 'post',
    data
  })
}


//删除
export function deleteProductType(data) {
  return request({
    url: '/tableProductType/delete',
    method: 'post',
    data
  })
}






